﻿namespace TestTool.Tests.Common.Soap
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlRoot(ElementName="Envelope", Namespace="http://www.w3.org/2003/05/soap-envelope", IsNullable=false), XmlType(Namespace="http://www.w3.org/2003/05/soap-envelope"), GeneratedCode("xsd", "2.0.50727.3038"), DebuggerStepThrough, DesignerCategory("code")]
    public class Envelope<T> where T: class
    {
        private System.Xml.XmlAttribute[] anyAttrField;
        private Body<T> bodyField;
        private TestTool.Tests.Common.Soap.Header headerField;

        [XmlAnyAttribute]
        public System.Xml.XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        public Body<T> Body
        {
            get
            {
                return this.bodyField;
            }
            set
            {
                this.bodyField = value;
            }
        }

        public TestTool.Tests.Common.Soap.Header Header
        {
            get
            {
                return this.headerField;
            }
            set
            {
                this.headerField = value;
            }
        }
    }
}

